package com.longrise.android.byjk.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by sujizhong on 2017/3/2.
 */

public class Dirinfo {

    /**
     * 目录名称
     */
    @Expose
    @SerializedName("name")
    public String name;

    /**
     * 目录id
     */
    @Expose
    @SerializedName("dirid")
    public String dirid;

    /**
     * 目录中课件完成百分比
     */
    @Expose
    @SerializedName("finishpct")
    public double finishpct;

    /**
     * 目录下课件数量
     */
    @Expose
    @SerializedName("cwcount")
    public int cwcount;

    /**
     * 已完成课件数量
     */
    @Expose
    @SerializedName("finishedcwcount")
    public int finishedcwcount;

    /**
     * 未完成课件数量
     */
    @Expose
    @SerializedName("unfinishedcwcount")
    public int unfinishedcwcount;


    @Expose
    @SerializedName("nextnodeinfo")
    public List<Nextnodeinfo> nextnodeinfo;

    @Override
    public String toString() {
        return "{" +
                "name='" + name + '\'' +
                ", dirid='" + dirid + '\'' +
                ", finishpct=" + finishpct +
                ", cwcount=" + cwcount +
                ", finishedcwcount=" + finishedcwcount +
                ", unfinishedcwcount=" + unfinishedcwcount +
                ", nextnodeinfo=" + nextnodeinfo +
                '}';
    }
}
